package com.clover.ehcache.service;

import com.clover.ehcache.domain.UserVO;

import java.util.List;
import java.util.Optional;

public interface UserService {


    UserVO save(UserVO user);

    Optional<UserVO> findById(Long id);

    UserVO update(UserVO user) throws Exception;

    void delete(Long id);

    List<UserVO> findAll();



}
